<!-- content -->
<div class="span9">
    <div class="row-fluid">
        <?php
        if (empty($seminar)) {
            echo '<div class="span12">';
            echo '<div class="alert alert-error"><button type="button" class="close" data-dismiss="alert">×</button><strong>Maaf!</strong> Seminar proposal belum terjadwal.</div>';
            echo '</div>';
        }
        ?>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <?php foreach ($seminar as $data): ?>
                <table class="table table-bordered table-striped">
                    <thead align="center">
                        <tr>
                            <th colspan="2" style="text-align: center; background-color: #610E54; color:white;">INFORMASI JADWAL SEMINAR PROPOSAL TESIS</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td style="background-color:#CCCCCC; " class="span3"><b>NPM</b></td>
                            <td><span class="label label-info"><?php echo $data->nim ?></span></td>
                        </tr>
                        <tr>
                            <td style="background-color:#CCCCCC; " class="span3"><b>TANGGAL</b></td>
                            <td><?php
            $sub = $data->tgl;
            $d = substr($sub, 8, 2);
            $m = substr($sub, 5, 2);
            $y = substr($sub, 0, 4);
            echo $d . '-' . $m . '-' . $y
            ?></td>
                        </tr>
                        <tr>
                            <td style="background-color:#CCCCCC; "class="span3"><b>PENGUJI 1</b></td>
                            <td><?php echo $data->dosen_1 ?></td>
                        </tr>
                        <tr>
                            <td style="background-color:#CCCCCC; " class="span3"><b>PENGUJI 2</b></td>
                            <td><?php echo $data->dosen_2 ?></td>
                        </tr>
                        <tr>
                            <td style="background-color:#CCCCCC; " class="span3"><b>PENGUJI 3</b></td>
                            <td><?php echo $data->dosen_3 ?></td>
                        </tr>
                        <tr>
                            <td style="background-color:#CCCCCC; " class="span3"><b>PENGUJI 4</b></td>
                            <td><?php echo $data->dosen_4 ?></td>
                        </tr>
                    </tbody>
                </table>
<?php endforeach; ?>
        </div>
    </div>
</div>
</div>
</div>